/*
 * @Description: 用户权限 - 利用权限
 * @Author: Rfan
 * @Date: 2022-04-07 15:49:26
 * @LastEditTime: 2022-04-07 17:56:02
 */

import classNames from 'classnames/bind';
import NavSidebar from './components/NavSidebar';
import Operate from './components/Operate';
import List from './components/List';
import { UseRightContextProvider } from './contexts/UseRightContext';

import styles from './styles/useRight.module.scss';
import Tips from './components/Tips';

const cx = classNames.bind(styles);

const UserRightUseRight = () => {
  return (
    <>
      <UseRightContextProvider>
        <div className={cx('main-wrap')}>
          <div className={cx('unit-wrap')}>
            <NavSidebar />
          </div>
          <div className={cx('content-wrap')}>
            <Operate />
            <Tips />
            <List />
          </div>
        </div>
      </UseRightContextProvider>
    </>
  );
};

export default UserRightUseRight;
